package testaux;

public class Condition {
    public final int type;
    public final Expr left;
    public final Expr right;

    public Condition(int type, Expr left, Expr right) {
        this.type = type;
        this.left = left;
        this.right = right;
    }

    public String toString() {
        return "[" + left.toString() + (type == Sym.LT ? " < " : " > ") + right.toString() + "]";
    }
}
